package com.google.code.jmarias.server.tcp;

import com.google.code.jmarias.common.NewTable;

/**
 * Trida vytvari instance hry Marias.
 * @author Ondrej Michal
 */
public class MariasFactory extends AbstractGameFactory {

    @Override
    public AbstractGame createGame(NewTable table) {
        return new MariasGame(gameId.incrementAndGet(), table);
    }

    @Override
    public int getMaxPlayers() {
        return 3;
    }

    @Override
    public int getMinPlayers() {
        return 3;
    }

}
